/*
 * Copyright 2006 Kevin Wetzels 
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *       http://www.apache.org/licenses/LICENSE-2.0 
 *       
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
 * See the License for the specific language governing permissions and 
 * limitations under the License.
 */
package be.roam.drest.service.youtube;

public class YouTubeUserProfile {
    
    private String userName;

    private String firstName;
    
    private String lastName;
    
    private String about;
    
    private int age;
    
    private int nrVideosUploaded;
    
    private int nrVideosWatched;
    
    private String homepage;
    
    private String hometown;
    
    private String gender;
    
    private String occupations;
    
    private String companies;
    
    private String city;
    
    private String country;
    
    private String books;
    
    private String hobbies;
    
    private String movies;
    
    private String relationship;
    
    private int nrFriends;
    
    private int nrFavouriteVideos;
    
    private boolean currentlyOn;

    /**
     * @return the userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * @param userName the userName to set
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * @return the about
     */
    public String getAbout() {
        return about;
    }

    /**
     * @param about the about to set
     */
    public void setAbout(String about) {
        this.about = about;
    }

    /**
     * @return the age
     */
    public int getAge() {
        return age;
    }

    /**
     * @param age the age to set
     */
    public void setAge(int age) {
        this.age = age;
    }

    /**
     * @return the books
     */
    public String getBooks() {
        return books;
    }

    /**
     * @param books the books to set
     */
    public void setBooks(String books) {
        this.books = books;
    }

    /**
     * @return the city
     */
    public String getCity() {
        return city;
    }

    /**
     * @param city the city to set
     */
    public void setCity(String city) {
        this.city = city;
    }

    /**
     * @return the companies
     */
    public String getCompanies() {
        return companies;
    }

    /**
     * @param companies the companies to set
     */
    public void setCompanies(String companies) {
        this.companies = companies;
    }

    /**
     * @return the country
     */
    public String getCountry() {
        return country;
    }

    /**
     * @param country the country to set
     */
    public void setCountry(String country) {
        this.country = country;
    }

    /**
     * @return the currentlyOn
     */
    public boolean isCurrentlyOn() {
        return currentlyOn;
    }

    /**
     * @param currentlyOn the currentlyOn to set
     */
    public void setCurrentlyOn(boolean currentlyOn) {
        this.currentlyOn = currentlyOn;
    }

    /**
     * @return the firstName
     */
    public String getFirstName() {
        return firstName;
    }

    /**
     * @param firstName the firstName to set
     */
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    /**
     * @return the gender
     */
    public String getGender() {
        return gender;
    }

    /**
     * @param gender the gender to set
     */
    public void setGender(String gender) {
        this.gender = gender;
    }

    /**
     * @return the hobbies
     */
    public String getHobbies() {
        return hobbies;
    }

    /**
     * @param hobbies the hobbies to set
     */
    public void setHobbies(String hobbies) {
        this.hobbies = hobbies;
    }

    /**
     * @return the homepage
     */
    public String getHomepage() {
        return homepage;
    }

    /**
     * @param homepage the homepage to set
     */
    public void setHomepage(String homepage) {
        this.homepage = homepage;
    }

    /**
     * @return the hometown
     */
    public String getHometown() {
        return hometown;
    }

    /**
     * @param hometown the hometown to set
     */
    public void setHometown(String hometown) {
        this.hometown = hometown;
    }

    /**
     * @return the lastName
     */
    public String getLastName() {
        return lastName;
    }

    /**
     * @param lastName the lastName to set
     */
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    /**
     * @return the movies
     */
    public String getMovies() {
        return movies;
    }

    /**
     * @param movies the movies to set
     */
    public void setMovies(String movies) {
        this.movies = movies;
    }

    /**
     * @return the nrFavouriteVideos
     */
    public int getNrFavouriteVideos() {
        return nrFavouriteVideos;
    }

    /**
     * @param nrFavouriteVideos the nrFavouriteVideos to set
     */
    public void setNrFavouriteVideos(int nrFavouriteVideos) {
        this.nrFavouriteVideos = nrFavouriteVideos;
    }

    /**
     * @return the nrFriends
     */
    public int getNrFriends() {
        return nrFriends;
    }

    /**
     * @param nrFriends the nrFriends to set
     */
    public void setNrFriends(int nrFriends) {
        this.nrFriends = nrFriends;
    }

    /**
     * @return the nrVideosUploaded
     */
    public int getNrVideosUploaded() {
        return nrVideosUploaded;
    }

    /**
     * @param nrVideosUploaded the nrVideosUploaded to set
     */
    public void setNrVideosUploaded(int nrVideosUploaded) {
        this.nrVideosUploaded = nrVideosUploaded;
    }

    /**
     * @return the nrVideosWatched
     */
    public int getNrVideosWatched() {
        return nrVideosWatched;
    }

    /**
     * @param nrVideosWatched the nrVideosWatched to set
     */
    public void setNrVideosWatched(int nrVideosWatched) {
        this.nrVideosWatched = nrVideosWatched;
    }

    /**
     * @return the occupations
     */
    public String getOccupations() {
        return occupations;
    }

    /**
     * @param occupations the occupations to set
     */
    public void setOccupations(String occupations) {
        this.occupations = occupations;
    }

    /**
     * @return the relationship
     */
    public String getRelationship() {
        return relationship;
    }

    /**
     * @param relationship the relationship to set
     */
    public void setRelationship(String relationship) {
        this.relationship = relationship;
    }
    
    public boolean isMale() {
        return "m".equals(gender);
    }
    
    public boolean isFemale() {
        return "f".equals(gender);
    }
    
    public boolean isSingle() {
        return "single".equals(relationship);
    }
    
    public boolean isTaken() {
        return "taken".equals(relationship);
    }
    
    public boolean isOpen() {
        return "open".equals(relationship);
    }
    
}
